package com.fwj.core.common.model;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @Author: fwj
 * @Data: 2022/4/16 17:55
 * @Version 1.0
 * @Description:    全局访问数据埋点日志
 */

@Setter
@Getter
public class DataBuriedPointLogBean {


    private String scheme;
    private String protocol;
    private String serverName;
    private int serverPort;
    private String localAddr;
    private String localName;
    private int localPort;
    private String method;
    private String requestURI;
    private StringBuffer requestURL;
    private String realAddr;
    private String realHost;
    private String realIP;
    private String cookie;
    private Date startTime;
    private Date endTime;
    private String requestParam;
    private String response;


    @Override
    public String toString() {
        return "DataBuriedPointLogBean{" +
                "scheme='" + scheme + '\'' +
                ", protocol='" + protocol + '\'' +
                ", serverName='" + serverName + '\'' +
                ", serverPort=" + serverPort +
                ", localAddr='" + localAddr + '\'' +
                ", localName='" + localName + '\'' +
                ", localPort=" + localPort +
                ", method='" + method + '\'' +
                ", requestURI='" + requestURI + '\'' +
                ", requestURL=" + requestURL +
                ", realAddr='" + realAddr + '\'' +
                ", realHost='" + realHost + '\'' +
                ", realIP='" + realIP + '\'' +
                ", cookie='" + cookie + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", requestParam='" + requestParam + '\'' +
                ", response='" + response + '\'' +
                '}';
    }
}
